export const MessageType = {
    SYSTEM_MSG: '0',
    CHAT_MSG: '1',
    APPROVAL_MSG: '2',
    APPOINTMENT_MSG: '3'
}

export const SubType = {
    SYSTEM: {
        BROADCAST: 'system_broadcast'
    },
    CHAT: {
        USER_TO_USER: 'user_chat',
        USER_TO_CONSULTANT: 'consultation_chat'
    },
    // 审核
    APPROVAL: {
        REQUEST: 'approval_request',
        RESULT: 'approval_result'
    },
    // 预约
    APPOINTMENT: {
        REQUEST: 'appointment_request',
        RESULT: 'appointment_result',
        END: 'appointment_end',
    }
}

export const UserRole = {
    USER: 'common',
    CONSULTANT: 'counselor',
    ADMIN: 'commonAdmin'
}
